package com.yvon.maple.service.doc.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yvon.boot.mybatis.model.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;


/**
 * 类别
 *
 * @author : Yvon
 * @since : 2022-11-13
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("doc_category")
public class Category extends BaseEntity {

    /**
     * 名字
     */
    private String name;

    /**
     * 父节点
     */
    private Long parentId;

    /**
     * 等级
     */
    private Integer level;

    /**
     * 排序
     */
    private Integer sort;

}